# Contributor: Sergiy Stupar <owner@sestolab.pp.ua>
# Maintainer: Sergiy Stupar <owner@sestolab.pp.ua>
pkgname=snore
pkgver=0.3.1
pkgrel=0
pkgdesc="sleep with feedback"
url="https://github.com/bitsmanent/snore"
arch="all"
license="MIT"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/bitsmanent/snore/archive/$pkgver.tar.gz"
options="!check" # No tests

build() {
	make PREFIX=/usr
}

package() {
	make PREFIX=/usr DESTDIR="$pkgdir" install
	install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
}

sha512sums="
c48db69d96ead044a48d9e6aefc01986b6d826e5bc6a84426680d6d2086656692b647fbbe25569fd2fe01b032a1a368515ec6a001284f58d2be4ad69a520b397  snore-0.3.1.tar.gz
"
